package level4project.v4modify_decorator.model;

import java.util.ArrayList;

import level4project.v4modify_decorator.view.Observer;


public abstract class Subject {
	protected ArrayList<Observer> observers = new ArrayList<Observer>();
	
	public void registerObserver(Observer o) {
		observers.add(o);
	}
	
	public abstract void notifyObservers();

}
